﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SQLCE.Entity;
using System.Linq.Expressions;
using SQLCE.Data;

namespace SQLCE.Service
{
    public class UserManager
    {
        IRepository<User_Info> _user_InfoRepository;
        public UserManager(IRepository<User_Info> user_InfoRepository)
        {
            _user_InfoRepository = user_InfoRepository;
        }
        public List<User_Info> GetUser_Info(Expression<Func<User_Info, bool>> predicate)
        {
            return _user_InfoRepository.Fetch(predicate).ToList();
        }
    }
}